<?php
if (!defined("_INDEX")) { header("Location: /"); die; }

if ($partner = $route->getAdminId())
	$db->sendQuery("delete from `business_partners` where `id` = '$partner' limit 1");

goToPage("/admin/partners");
?>